home *** CD-ROM | disk | FTP | other *** search
/ Champak 119 / (Vol 119) Nov 09 2010.iso / TGKI-109 / Games / how_to_make_mixed_vegetable_salad.swf / scripts / DefineSprite_375 / frame_38 / DoAction.as
Text File  |  2010-11-09  |  624b  |  26 lines

  1. stop();
  2. _parent.ins20._visible = true;
  3. _parent.cutColiFlower.cutFlower.onPress = function()
  4. {
  5.    startDrag(this,0);
  6.    _parent.ins20._visible = false;
  7. };
  8. _parent.cutColiFlower.cutFlower.onRelease = function()
  9. {
  10.    if(_parent.coliFlower.hitTest(this))
  11.    {
  12.       this.stopDrag();
  13.       this._x = 465;
  14.       this._y = -150;
  15.       knief._visible = false;
  16.       _parent.knief._visible = true;
  17.       _parent.knief.enabled = false;
  18.       _parent.knief._x = 55.6;
  19.       _parent.knief._y = 8.2;
  20.       this.enabled = false;
  21.       _global.dd = 1;
  22.       _parent.ins6._visible = true;
  23.       CutOnion();
  24.    }
  25. };
  26.